<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<style type="text/css">
body{background-color:grey;}

p{background-color:red;}
</style>
<script language="javascript">
	function change() {
	alert("click me");
	alert(document.getElementById("name").value);
	var str ="fsdd";
	document.getElementById("name").value= str;
	}
</script>

</HEAD>

<BODY>
<input type="button" value="change" onclick ="change()">
<form name ="myform">
<input type="text" name ="name" id ="name"/>
</form>
<a name ="#top"> top name </a>
</fieldset>
</BODY>
</HTML>	
